package com.szholly.data.coderule.table;

import com.szholly.data.general.GlobalDataType;
import com.szholly.data.general.RowBase;

/**
 * 规则表记录
 */
public class RuleRow extends RowBase {
	/**
	 * 
	 */
	private static final long serialVersionUID = -774457786396608599L;

	/**
	 * ID
	 */
	public final static String FIELD_ID = "ID";

	/**
	 * RuleID
	 */
	public final static String FIELD_RULEID = "S_RULEID";

	/**
	 * 规则名称
	 */
	public final static String FIELD_RULENAME = "S_RULENAME";

	/**
	 * 
	 * @return
	 */
	public int getID() {
		Integer result = (Integer) getValue(GlobalDataType.Int32, FIELD_ID);
		return result.intValue();
	}

	/**
	 * 
	 */
	public void setID(int value) {
		setValue(FIELD_ID, value);
	}

	/**
	 * 
	 */
	public String getRULEID() {
		return (String) getValue(GlobalDataType.String, FIELD_RULEID);
	}

	/**
	 * 
	 */
	public void setRULEID(String value) {
		setValue(FIELD_RULEID, value);
	}

	/**
	 * 
	 */
	public String getRULENAME() {
		return (String) getValue(GlobalDataType.String, FIELD_RULENAME);
	}

	/**
	 * 
	 */
	public void setRULENAME(String value) {
		setValue(FIELD_RULENAME, value);
	}

}